<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title></title>
  </head>
  <body>
    <div id="app">
      <div v-if="type === 'A' || type === 'a'">A</div>
      <div v-else-if="type.toLocaleUpperCase() === 'B'">B</div>
      <div v-else-if="type === 'C'">C</div>
      <div v-else>Not A/B/C</div>
      <div><input type="text" v-model="type" /></div>
    </div>

    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script>
      const { createApp, ref } = Vue;

      createApp({
        setup() {
          const type = ref("A");

          return {
            type,
          };
        },
      }).mount("#app");
    </script>
  </body>
</html>
